const middlePopTitle = ref("")
const visible = ref(false)
enum middlePopType {
  AIR = "日报详情-大气",
  WATER = "日报详情-水务",
  MANAGE = "日报详情-城管",
  ALARM = "告警事件详情"
}

export const useMiddlePop = () => {
  const changeMiddlePop = (title: string) => {
    middlePopTitle.value = title
    visible.value = true
  }

  return {
    changeMiddlePop,
    middlePopTitle,
    visible,
    middlePopType
  }
}
